package com.zmn.oms.dubbo.interfaces.normal.master;


import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.dro.normal.master.MasterWorkingDRO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

import javax.validation.constraints.NotNull;

/**
 * @author ligang
 * @date:2021/12/7 3:04 下午
 * description: 工程师进行中工单
 */
@Api(
        value = "工程师进行中工单查询",
        tags = {"工程师进行中工单查询"}
)
public interface MasterWorkingListRemoteService {
    /**
     * 工程师进行中工单查询
     * @param workId
     * @return
     */
    @ApiOperation(
            value = "查询工程师进行中工单",
            response = ResponseDTO.class,
            tags = {"工程师进行中工单查询"}
    )
    ResponseDTO<MasterWorkingDRO> getMasterWorkingByWorkId(@NotNull(message = "入参不能为空") @ApiParam(value = "入参", required = true)  Long workId);
}
